package com.bwie.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
@TableName(value = "t_parking_lot")
public class TbParkingLot implements Serializable {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private Integer parkingId;
    private String number;
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8",shape = JsonFormat.Shape.STRING)
    private Date admissionTime;
    private String billing;
    private String duration;
    private Double price;
    private Integer status;
}
